﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SYH.Purchase.BLL
{
    public class Purchase_Info
    {
        private static readonly SYH.Purchase.DAL.Purchase_Info dal = new DAL.Purchase_Info();
        #region 判断该用户的此采购标题是否重复 返回0重复 1不重复
        public static int GetIsHasTitle(int userId, string title)
        {
            return dal.GetIsHasTitle(userId, title);
        }
        #endregion

        #region 批量删除
        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="IDs">ID集合</param>
        /// <returns></returns>
        public static int DeleteIdList(string IDs)
        {
            return dal.DeleteIdList(IDs);
        }
        #endregion
    }
}
